package com.sinooceangroup.capital.consumer.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 调动服务提供者API的OpenFeign Client 接口定义
 * @author: Leo.Wang, adwyxx@qq.com
 * @date: 2020/7/17 15:08
 */
@FeignClient(name="productor-service",fallback = ProductorFeignClientFallBack.class)
public interface ProductorFeignClient {

    @GetMapping("/productor/api/hello-world")
    String helloWorld();
}
